<template>
    <div class="NumbeRFMaintenJCSQ">
        <div class="pubBig standard ">
            <div class="h0">
                <p class="lt">检查申请</p>
            </div>

            <div class="dRightMain">
                <el-tabs v-model="activeName" @tab-click="handleClick">
                    <el-tab-pane label="检查申请" name="first">
                        <div style="height: 500px;overflow: auto" class="cardP">
                            <el-card class="box-card">
                                <div slot="header" class="clearfix">
                                    <span>患者信息</span>
                                </div>
                                <div>
                                    <div>
                                        <el-row>

                                            <el-col :span="6">
                                                <div class="grid-content bg-purple-light div_P">
                                                    <div class="form-group">
                                                        <p>
                                                            <label>患者姓名:</label>
                                                            <input type="text" class="form-control"
                                                                   v-model="addJYObj.PatientInfo.Name" placeholder="必填">
                                                            </input>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple div_P">
                                                    <div class="form-group">
                                                        <p class="selectTime">
                                                            <label>出生日期:</label>
                                                            <el-date-picker style="width:168px;height:32px"
                                                                            type="date"
                                                                            v-model="addJYObj.PatientInfo.Born"
                                                                            value-format="yyyy-MM-dd"
                                                                            placeholder="选择日期">
                                                            </el-date-picker>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple-light div_P">
                                                    <div class="form-group">
                                                        <p>
                                                            <label>年龄:</label>
                                                            <input type="text" class="form-control" style="width: 120px"
                                                                   v-model="addJYObj.PatientInfo.Age" placeholder="必填">
                                                            </input>
                                                            <select class="form-control"
                                                                    style="width: 80px;margin-left: 20px"
                                                                    v-model="addJYObj.PatientInfo.AgeUnit"
                                                                    placeholder="请选择">
                                                                <option v-for="(item,index) in nldwList"
                                                                        :label="item.name"
                                                                        :value="item.code"
                                                                        :key="index"></option>
                                                            </select>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                        </el-row>
                                        <el-row>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple div_P">
                                                    <div class=" form-group ">
                                                        <p>
                                                            <label>性别:</label>
                                                            <select class="form-control"
                                                                    v-model="addJYObj.PatientInfo.Sex"
                                                                    placeholder="请选择">
                                                                <option v-for="(item,index) in xbList"
                                                                        :label="item.name"
                                                                        :value="item.code"
                                                                        :key="index"></option>
                                                            </select>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple-light div_P">
                                                    <div class="form-group">
                                                        <p>
                                                            <label>体重:</label>
                                                            <input type="text" class="form-control"
                                                                   v-model="addJYObj.PatientInfo.Weight"
                                                                   placeholder="必填">
                                                            </input>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple div_P">
                                                    <div class="form-group">
                                                        <p class="selectTime">
                                                            <label>身高:</label>
                                                            <input type="text" class="form-control"
                                                                   v-model="addJYObj.PatientInfo.Height"
                                                                   placeholder="必填">
                                                            </input>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple-light div_P">
                                                    <div class="form-group">
                                                        <p>
                                                            <label>BMI:</label>
                                                            <input type="text" class="form-control"
                                                                   v-model="addJYObj.PatientInfo.BMI" placeholder="必填">
                                                            </input>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                        </el-row>
                                        <el-row>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple div_P">
                                                    <div class=" form-group ">
                                                        <p>
                                                            <label>婚姻情况:</label>
                                                            <select class="form-control"
                                                                    v-model="addJYObj.PatientInfo.Marital"
                                                                    placeholder="请选择">
                                                                <option v-for="(item,index) in hyqkList"
                                                                        :label="item.name"
                                                                        :value="item.code"
                                                                        :key="index"></option>
                                                            </select>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple-light div_P">
                                                    <div class="form-group">
                                                        <p>
                                                            <label>患者病情:</label>
                                                            <select class="form-control"
                                                                    v-model="addJYObj.PatientInfo.Condition"
                                                                    placeholder="请选择">
                                                                <option v-for="(item,index) in hzbqList"
                                                                        :label="item.name"
                                                                        :value="item.code"
                                                                        :key="index"></option>
                                                            </select>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple div_P">
                                                    <div class="form-group">
                                                        <p class="selectTime">
                                                            <label>入院时间:</label>
                                                            <el-date-picker style="width:168px;height:32px"
                                                                            type="date"
                                                                            v-model="addJYObj.PatientInfo.InDate"
                                                                            value-format="yyyy-MM-dd"
                                                                            placeholder="选择日期">
                                                            </el-date-picker>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple-light div_P">
                                                    <div class="form-group">
                                                        <p>
                                                            <label>电话:</label>
                                                            <input type="text" class="form-control" style="width: 180px"
                                                                   v-model="addJYObj.PatientInfo.TelePhone"
                                                                   placeholder="必填">
                                                            </input>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                        </el-row>
                                        <el-row>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple div_P">
                                                    <div class=" form-group ">
                                                        <p>
                                                            <label>国籍:</label>
                                                            <select class="form-control"
                                                                    v-model="addJYObj.PatientInfo.Country"
                                                                    placeholder="请选择">
                                                                <option v-for="(item,index) in gjList"
                                                                        :label="item.name"
                                                                        :value="item.code"
                                                                        :key="index"></option>
                                                            </select>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple-light div_P">
                                                    <div class="form-group">
                                                        <p>
                                                            <label>民族:</label>
                                                            <select class="form-control"
                                                                    v-model="addJYObj.PatientInfo.Nation"
                                                                    placeholder="请选择">
                                                                <option v-for="(item,index) in mzList"
                                                                        :label="item.name"
                                                                        :value="item.code"
                                                                        :key="index"></option>
                                                            </select>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple div_P">
                                                    <div class="form-group">
                                                        <p class="selectTime">
                                                            <label>职业:</label>
                                                            <select class="form-control"
                                                                    v-model="addJYObj.PatientInfo.Occupation"
                                                                    placeholder="请选择">
                                                                <option v-for="(item,index) in zyList"
                                                                        :label="item.name"
                                                                        :value="item.code"
                                                                        :key="index"></option>
                                                            </select>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple-light div_P">
                                                    <div class="form-group">
                                                        <p>
                                                            <label>地址:</label>
                                                            <input type="text" class="form-control"
                                                                   v-model="addJYObj.PatientInfo.Address"
                                                                   placeholder="必填">
                                                            </input>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                        </el-row>
                                        <el-row>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple div_P">
                                                    <div class=" form-group ">
                                                        <p>
                                                            <label>医保类别:</label>
                                                            <select class="form-control"
                                                                    v-model="addJYObj.PatientInfo.MedicalCatagory"
                                                                    placeholder="请选择">
                                                                <option v-for="(item,index) in yblbList"
                                                                        :label="item.name"
                                                                        :value="item.code"
                                                                        :key="index"></option>
                                                            </select>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple-light div_P">
                                                    <div class="form-group">
                                                        <p>
                                                            <label>医保卡号:</label>
                                                            <input type="text" class="form-control"
                                                                   v-model="addJYObj.PatientInfo.MedicalCard"
                                                                   placeholder="必填">
                                                            </input>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>

                                        </el-row>
                                    </div>
                                </div>
                            </el-card>
                            <el-card class="box-card">
                                <div slot="header" class="clearfix">
                                    <span>申请方信息</span>
                                </div>
                                <div>
                                    <div>
                                        <el-row>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple-light div_P">
                                                    <div class="form-group">
                                                        <p>
                                                            <label>申请科室:</label>
                                                            <input type="text" class="form-control"
                                                                   v-model="LoginInfor.SectionName" placeholder="必填">
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple div_P">
                                                    <div class="form-group">
                                                        <p>
                                                            <label>申请医生:</label>
                                                            <input type="text" class="form-control"
                                                                   v-model="LoginInfor.UserName" placeholder="必填">
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                            <el-col :span="6">
                                                <div class="grid-content bg-purple-light div_P">
                                                    <div class="form-group">
                                                        <p>
                                                            <label>预约医院:</label>
                                                            <select class="form-control"
                                                                    v-model="addJYObj.Request.sHospital"
                                                                    placeholder="请选择">
                                                                <option v-for="(item,index) in zzjgList"
                                                                        :label="item.HospitalName"
                                                                        :value="item.HospitalId"
                                                                        :key="index"></option>
                                                            </select>
                                                        </p>
                                                    </div>
                                                </div>
                                            </el-col>
                                        </el-row>
                                    </div>
                                </div>
                            </el-card>
                            <div class="grid-content bg-purple ">
                                <el-card style="width: 100%">
                                    <div slot="header" class="clearfix">
                                        <span>申请项目</span>
                                        <el-button type="success" style="float: right; "
                                                   @click="showDialog('showTJJC')">添加
                                            <i class="el-icon-upload el-icon--right"></i>
                                        </el-button>
                                    </div>
                                    <div class="fjtable">
                                        <el-table
                                                :data="addJYObj.Request_CehckDetails"
                                                height="138"
                                                border
                                                style="width: 100%">
                                            <el-table-column
                                                    fixed
                                                    prop="Code"
                                                    label="项目编号"
                                            >
                                            </el-table-column>
                                            <el-table-column
                                                    fixed
                                                    prop="Name"
                                                    label="项目名称"
                                            >
                                            </el-table-column>
                                            <el-table-column
                                                    prop="BodyPart"
                                                    label="检查部位"
                                            >
                                            </el-table-column>

                                            <el-table-column
                                                    prop="RequestTime"
                                                    label="预约时间"
                                            >
                                            </el-table-column>


                                            <el-table-column
                                                    fixed="right"
                                                    label="操作"
                                                    width="100">
                                                <template slot-scope="scope">
                                                    <el-button
                                                            @click.native.prevent="deleteRow(scope.$index, addJYObj.Request_CehckDetails)"
                                                            type="text"
                                                            size="small">删除
                                                    </el-button>
                                                </template>
                                            </el-table-column>
                                        </el-table>
                                    </div>
                                </el-card>
                            </div>

                        </div>
                        <el-row style="margin-top: 16px">
                            <el-col :span="12">
                                <el-link disabled></el-link>
                            </el-col>
                            <el-col :span="12">
                                <div class="grid-content bg-purple-light div_P">
                                    <el-button type="success" plain @click="saveJYObj()">保存</el-button>
                                </div>
                            </el-col>

                        </el-row>
                    </el-tab-pane>

                    <el-tab-pane label="申请列表" name="fourth">
                        <div class="cardP">
                            <el-card class="box-card">
                                <div slot="header" class="clearfix">
                                    <span>申请列表</span>
                                    <el-button style="float: right; padding: 3px 0" type="text" v-if="false">操作按钮
                                    </el-button>
                                </div>
                                <div class="cardC" style="height: 400px;overflow-y: auto">
                                    <el-row>
                                        <el-col :span="24">
                                            <div class="grid-content bg-purple ">
                                                <el-card style="width: 100%">
                                                    <div slot="header" class="clearfix">
                                                        <span>申请列表</span>
                                                        <el-button type="success" style="float: right; padding: 3px 0"
                                                                   v-if="false">本院上传
                                                            <i class="el-icon-upload el-icon--right"></i>
                                                        </el-button>
                                                    </div>
                                                    <div class="fjtable">
                                                        <el-row>
                                                            <el-col :span="8">
                                                                <div class="grid-content bg-purple div_P">
                                                                    <div class="form-group">
                                                                        <p class="selectTime">
                                                                            <label>申请日期:</label>
                                                                            <el-date-picker
                                                                                    style="width:98px;height:32px"
                                                                                    type="date"
                                                                                    v-model="getJYInforObj.bdate"
                                                                                    @change="getReferralList()"
                                                                                    value-format="yyyy-MM-dd"
                                                                                    placeholder="选择日期">
                                                                            </el-date-picker>
                                                                            -
                                                                            <el-date-picker
                                                                                    style="width:98px;height:32px"
                                                                                    type="date"
                                                                                    v-model="getJYInforObj.edate"
                                                                                    @change="getReferralList()"
                                                                                    value-format="yyyy-MM-dd"
                                                                                    placeholder="选择日期">
                                                                            </el-date-picker>
                                                                        </p>
                                                                    </div>
                                                                </div>
                                                            </el-col>

                                                        </el-row>
                                                        <el-table
                                                                :data="JYSQList"
                                                                height="258"
                                                                border
                                                                style="width: 100%">
                                                            <el-table-column
                                                                    fixed
                                                                    prop="PatientName"
                                                                    label="患者姓名"
                                                            >
                                                            </el-table-column>
                                                            <el-table-column
                                                                    prop="CreateTime"
                                                                    label="申请时间"
                                                            >
                                                            </el-table-column>
                                                            <el-table-column
                                                                    prop="rDoctor_Name"
                                                                    label="申请医院"
                                                            >
                                                            </el-table-column>
                                                            <el-table-column
                                                                    prop="rHospital_Name"
                                                                    label="申请医生"
                                                            >
                                                            </el-table-column>


                                                            <el-table-column
                                                                    fixed="right"
                                                                    label="操作"
                                                                    width="100">
                                                                <template slot-scope="scope">
                                                                    <el-button @click="handleClickJCItem(scope.row)"
                                                                               type="text" size="small">查看详情
                                                                    </el-button>
                                                                </template>
                                                            </el-table-column>
                                                        </el-table>
                                                        <el-pagination
                                                                background
                                                                layout="prev, pager, next"
                                                                :page-size="10"
                                                                @current-change="handleCurrentChange"
                                                                :total="total">
                                                        </el-pagination>
                                                    </div>
                                                </el-card>
                                            </div>
                                        </el-col>
                                    </el-row>

                                </div>
                            </el-card>
                        </div>
                    </el-tab-pane>

                </el-tabs>


            </div>

            <!--弹框   添加检查-->
            <div class="blackBg hyCZBg" v-if="isShow=='showTJJC'">
                <div class="panel-default column2">
                    <em class="closes" @click="showDialog('')">×</em>
                    <div class="panel-heading">添加检查项目</div>
                    <div class="pucLabel">
                        <div class="form-group clearfix">
                            <p>
                                <label>检查设备：</label>
                                <el-autocomplete
                                        v-model="stateSB"
                                        :fetch-suggestions="querySearchAsyncSB"
                                        placeholder="请输入内容"
                                        @select="handleSelectSB"
                                ></el-autocomplete>
                            </p>
                            <p>
                                <label>检查部位：</label>
                                <el-autocomplete
                                        v-model="stateBW"
                                        :fetch-suggestions="querySearchAsyncBW"
                                        placeholder="请输入内容"
                                        @select="handleSelectBW"
                                ></el-autocomplete>
                            </p>
                            <p>
                                <label>检查项目：</label>
                                <el-autocomplete
                                        v-model="state"
                                        :fetch-suggestions="querySearchAsync"
                                        placeholder="请输入内容"
                                        @select="handleSelect"
                                ></el-autocomplete>
                            </p>
                            <p class="selectTime">
                                <label>预约时间：</label>

                                <el-date-picker style="width:168px;height:32px"
                                                type="date"
                                                v-model="stateTime"
                                                value-format="yyyy-MM-dd"
                                                placeholder="选择日期">
                                </el-date-picker>
                            </p>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" @click="showDialog('')">关闭</button>
                        <button type="button" class="btn btn-primary" @click="addJYItem()">保存</button>
                    </div>
                </div>
            </div>

            <!--弹框   检查申请单详情-->
            <div class="blackBg hyCZBg Dilog " v-if="isShow=='Infor'">
                <div class="panel-default column2">
                    <em class="closes" @click="showDialog('')">×</em>
                    <div class="panel-heading">检查申请单详情</div>
                    <div style="height: 500px;overflow: auto" class="cardP">
                        <el-card class="box-card">
                            <div slot="header" class="clearfix">
                                <span>患者信息</span>
                            </div>
                            <div>
                                <div>
                                    <el-row>

                                        <el-col :span="6">
                                            <div class="grid-content bg-purple-light div_P">
                                                <div class="form-group">
                                                    <p>
                                                        <label>患者姓名:</label>
                                                        <input type="text" class="form-control"
                                                               disabled v-model="JYInforObj.PatientInfo.Name"
                                                               placeholder="必填">
                                                        </input>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple div_P">
                                                <div class="form-group">
                                                    <p class="selectTime">
                                                        <label>出生日期:</label>
                                                        <el-date-picker style="width:168px;height:32px"
                                                                        type="date"
                                                                        disabled v-model="JYInforObj.PatientInfo.Born"
                                                                        value-format="yyyy-MM-dd"
                                                                        placeholder="选择日期">
                                                        </el-date-picker>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple-light div_P">
                                                <div class="form-group">
                                                    <p>
                                                        <label>年龄:</label>
                                                        <input type="text" class="form-control"
                                                               style="width: 60px!important;"
                                                               disabled v-model="JYInforObj.PatientInfo.Age"
                                                               placeholder="必填">
                                                        </input>
                                                        <select class="form-control"
                                                                style="width: 60px!important;margin-left: 20px"
                                                                disabled v-model="JYInforObj.PatientInfo.AgeUnit"
                                                                placeholder="请选择">
                                                            <option v-for="(item,index) in nldwList"
                                                                    :label="item.name"
                                                                    :value="item.code"
                                                                    :key="index"></option>
                                                        </select>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                    </el-row>
                                    <el-row>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple div_P">
                                                <div class=" form-group ">
                                                    <p>
                                                        <label>性别:</label>
                                                        <select class="form-control"
                                                                disabled v-model="JYInforObj.PatientInfo.Sex"
                                                                placeholder="请选择">
                                                            <option v-for="(item,index) in xbList"
                                                                    :label="item.name"
                                                                    :value="item.code"
                                                                    :key="index"></option>
                                                        </select>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple-light div_P">
                                                <div class="form-group">
                                                    <p>
                                                        <label>体重:</label>
                                                        <input type="text" class="form-control"
                                                               disabled v-model="JYInforObj.PatientInfo.Weight"
                                                               placeholder="必填">
                                                        </input>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple div_P">
                                                <div class="form-group">
                                                    <p class="selectTime">
                                                        <label>身高:</label>
                                                        <input type="text" class="form-control"
                                                               disabled v-model="JYInforObj.PatientInfo.Height"
                                                               placeholder="必填">
                                                        </input>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple-light div_P">
                                                <div class="form-group">
                                                    <p>
                                                        <label>BMI:</label>
                                                        <input type="text" class="form-control"
                                                               disabled v-model="JYInforObj.PatientInfo.BMI"
                                                               placeholder="必填">
                                                        </input>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                    </el-row>
                                    <el-row>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple div_P">
                                                <div class=" form-group ">
                                                    <p>
                                                        <label>婚姻情况:</label>
                                                        <select class="form-control"
                                                                disabled v-model="JYInforObj.PatientInfo.Marital"
                                                                placeholder="请选择">
                                                            <option v-for="(item,index) in hyqkList"
                                                                    :label="item.name"
                                                                    :value="item.code"
                                                                    :key="index"></option>
                                                        </select>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple-light div_P">
                                                <div class="form-group">
                                                    <p>
                                                        <label>患者病情:</label>
                                                        <select class="form-control"
                                                                disabled v-model="JYInforObj.PatientInfo.Condition"
                                                                placeholder="请选择">
                                                            <option v-for="(item,index) in hzbqList"
                                                                    :label="item.name"
                                                                    :value="item.code"
                                                                    :key="index"></option>
                                                        </select>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple div_P">
                                                <div class="form-group">
                                                    <p class="selectTime">
                                                        <label>入院时间:</label>
                                                        <el-date-picker style="width:98px;height:32px"
                                                                        type="date"
                                                                        disabled v-model="JYInforObj.PatientInfo.InDate"
                                                                        value-format="yyyy-MM-dd"
                                                                        placeholder="选择日期">
                                                        </el-date-picker>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple-light div_P">
                                                <div class="form-group">
                                                    <p>
                                                        <label>电话:</label>
                                                        <input type="text" class="form-control" style="width: 98px"
                                                               disabled v-model="JYInforObj.PatientInfo.TelePhone"
                                                               placeholder="必填">
                                                        </input>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                    </el-row>
                                    <el-row>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple div_P">
                                                <div class=" form-group ">
                                                    <p>
                                                        <label>国籍:</label>
                                                        <select class="form-control"
                                                                disabled v-model="JYInforObj.PatientInfo.Country"
                                                                placeholder="请选择">
                                                            <option v-for="(item,index) in gjList"
                                                                    :label="item.name"
                                                                    :value="item.code"
                                                                    :key="index"></option>
                                                        </select>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple-light div_P">
                                                <div class="form-group">
                                                    <p>
                                                        <label>民族:</label>
                                                        <select class="form-control"
                                                                disabled v-model="JYInforObj.PatientInfo.Nation"
                                                                placeholder="请选择">
                                                            <option v-for="(item,index) in mzList"
                                                                    :label="item.name"
                                                                    :value="item.code"
                                                                    :key="index"></option>
                                                        </select>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple div_P">
                                                <div class="form-group">
                                                    <p class="selectTime">
                                                        <label>职业:</label>
                                                        <select class="form-control"
                                                                disabled v-model="JYInforObj.PatientInfo.Occupation"
                                                                placeholder="请选择">
                                                            <option v-for="(item,index) in zyList"
                                                                    :label="item.name"
                                                                    :value="item.code"
                                                                    :key="index"></option>
                                                        </select>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple-light div_P">
                                                <div class="form-group">
                                                    <p>
                                                        <label>地址:</label>
                                                        <input type="text" class="form-control"
                                                               disabled v-model="JYInforObj.PatientInfo.Address"
                                                               placeholder="必填">
                                                        </input>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                    </el-row>
                                    <el-row>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple div_P">
                                                <div class=" form-group ">
                                                    <p>
                                                        <label>医保类别:</label>
                                                        <select class="form-control"
                                                                disabled
                                                                v-model="JYInforObj.PatientInfo.MedicalCatagory"
                                                                placeholder="请选择">
                                                            <option v-for="(item,index) in yblbList"
                                                                    :label="item.name"
                                                                    :value="item.code"
                                                                    :key="index"></option>
                                                        </select>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple-light div_P">
                                                <div class="form-group">
                                                    <p>
                                                        <label>医保卡号:</label>
                                                        <input type="text" class="form-control"
                                                               disabled v-model="JYInforObj.PatientInfo.MedicalCard"
                                                               placeholder="必填">
                                                        </input>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>

                                    </el-row>
                                </div>
                            </div>
                        </el-card>
                        <el-card class="box-card">
                            <div slot="header" class="clearfix">
                                <span>申请方信息</span>
                            </div>
                            <div>
                                <div>
                                    <el-row>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple-light div_P">
                                                <div class="form-group">
                                                    <p>
                                                        <label>申请科室:</label>
                                                        <input type="text" class="form-control"
                                                               disabled v-model="JYInforObj.Request.rDept"
                                                               placeholder="必填">
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple div_P">
                                                <div class="form-group">
                                                    <p>
                                                        <label>申请医生:</label>
                                                        <input type="text" class="form-control"
                                                               disabled v-model="JYInforObj.Request.rDoctor"
                                                               placeholder="必填">
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                        <el-col :span="6">
                                            <div class="grid-content bg-purple-light div_P">
                                                <div class="form-group">
                                                    <p>
                                                        <label>预约医院:</label>
                                                        <select class="form-control"
                                                                disabled v-model="JYInforObj.Request.sHospital"
                                                                placeholder="请选择">
                                                            <option v-for="(item,index) in zzjgList"
                                                                    :label="item.HospitalName"
                                                                    :value="item.HospitalId"
                                                                    :key="index"></option>
                                                        </select>
                                                    </p>
                                                </div>
                                            </div>
                                        </el-col>
                                    </el-row>
                                </div>
                            </div>
                        </el-card>
                        <div class="grid-content bg-purple ">
                            <el-card style="width: 100%">
                                <div slot="header" class="clearfix">
                                    <span>申请项目</span>
                                    <el-button type="success" style="float: right; " v-if="false"
                                               @click="showDialog('showTJJC')">添加
                                        <i class="el-icon-upload el-icon--right"></i>
                                    </el-button>
                                </div>
                                <div class="fjtable">
                                    <el-table
                                            :data="JYInforObj.Request_CehckDetails"
                                            height="138"
                                            border
                                            style="width: 100%">
                                        <el-table-column
                                                fixed
                                                prop="Code"
                                                label="项目编号"
                                        >
                                        </el-table-column>
                                        <el-table-column
                                                fixed
                                                prop="name"
                                                label="项目名称"
                                        >
                                        </el-table-column>
                                        <el-table-column
                                                prop="RequestTime"
                                                label="预约时间"
                                        >
                                        </el-table-column>


                                        <el-table-column
                                                prop="province"
                                                label="备注"
                                        >
                                        </el-table-column>

                                        <el-table-column
                                                fixed="right"
                                                label="操作"
                                                width="100">
                                            <template slot-scope="scope">
                                                <el-button
                                                        @click="handleClickJCItemPACS(scope.row)"
                                                        type="text"
                                                        size="small">查看报告
                                                </el-button>
                                            </template>
                                        </el-table-column>
                                    </el-table>
                                </div>
                            </el-card>
                        </div>

                    </div>
                </div>
            </div>

        </div>
    </div>
</template>
<script>
    export default {
        name: "Bedinformation",
        data() {
            return {
                msg: "SystemManagement 下的 Bedinformation",
                activeName: 'first',
                hzfsList: [
                    {name: '一般转诊', code: "1"},
                    {name: '紧急转诊', code: "2"},
                ],//会诊方式

//年龄单位
                nldwList: [
                    {name: '岁', code: "1"},
                    {name: '月', code: "2"},
                    {name: '天', code: "3"},
                ],
                //性别
                xbList: [
                    {name: '男', code: "1"},
                    {name: '女', code: "2"},
                    {name: '未知', code: "3"},
                ],
                //婚姻情况
                hyqkList: [
                    {name: '未婚', code: "1"},
                    {name: '已婚', code: "2"},
                    {name: '离异', code: "3"},
                ],
                //患者病情
                hzbqList: [
                    {name: '一般', code: "1"},
                    {name: '紧急', code: "2"},
                    {name: '病危', code: "3"},
                ],
                //医保类别
                yblbList: [
                    {name: '自费', code: "1"},
                    {name: '居民医保', code: "2"},
                    {name: '职工医保', code: "3"},
                ],
                //就诊类型
                jzlxList: [
                    {name: '门诊', code: "1"},
                    {name: '住院', code: "2"},
                ],
                //国籍
                gjList: [
                    {name: '中国', code: "1"},
                    {name: '外籍', code: "2"},
                ],
                //民族
                mzList: [
                    {name: '汉族', code: "1"},
                    {name: '其他少数民族', code: "2"},
                ],
                //职业
                zyList: [
                    {name: '自由职业', code: "1"},
                    {name: '其他', code: "2"},
                ],
                radio: '1',
                textarea: '',
                tableData: [
                    {
                        date: '2016-05-02',
                        name: '王小虎',
                        province: '上海',
                        city: '普陀区',
                        address: '上海市普陀区金沙江路 1518 弄',
                        zip: 200333
                    }, {
                        date: '2016-05-04',
                        name: '王小虎',
                        province: '上海',
                        city: '普陀区',
                        address: '上海市普陀区金沙江路 1517 弄',
                        zip: 200333
                    }, {
                        date: '2016-05-01',
                        name: '王小虎',
                        province: '上海',
                        city: '普陀区',
                        address: '上海市普陀区金沙江路 1519 弄',
                        zip: 200333
                    }, {
                        date: '2016-05-03',
                        name: '王小虎',
                        province: '上海',
                        city: '普陀区',
                        address: '上海市普陀区金沙江路 1516 弄',
                        zip: 200333
                    }],

                /*************************检查申请**********************************/
                isShow: "",
                zzjgList: [],
                LoginInfor: {
                    SectionName: "",
                    UserName: "",
                },
//

                stateTime: '',
                selectJYObjSB: null,
                restaurantsSB: [],
                stateSB: '',
                timeoutSB: null,
                selectJYObjBW: null,
                restaurantsBW: [],
                stateBW: '',
                timeoutBW: null,
                selectJYObj: null,
                restaurants: [],
                state: '',
                timeout: null,

                addJYObj: {
                    //检查化验对象实
                    Request: {
                        Id: -1,
                        BigType: 2,
                        rHospital: 0,
                        rDept: 0,
                        rDoctor: 0,
                        sHospital: 0,
                        PatientId: "",
                        PatientName: "",
                        Condition: 0,
                        Diagnosis: "",
                        CreateId: 0,
                        CreateTime: "2020-01-20T01:28:43.707Z",
                        STATUS: 0,
                        Cost: 0,
                        CheckAim: 0
                    },
                    //患者信息
                    PatientInfo: {
                        Id: 0,
                        ReferralId: 0,
                        Catagory: 0,
                        PatientId: "-1",
                        IDCard: 0,
                        Name: "",
                        Sex: 0,
                        Age: 0,
                        AgeUnit: 0,
                        Marital: 0,
                        Condition: 0,
                        Weight: "",
                        Height: "",
                        BMI: "",
                        Country: 0,
                        Nation: 0,
                        Born: "",
                        MedicalCatagory: 0,
                        MedicalCard: "",
                        TelePhone: "",
                        Occupation: "",
                        Address: "",
                        Dept: "",
                        SeekCatagory: 0,
                        InDate: "",
                        OutDate: ""
                    },
                    Request_Files: [],
                    Request_CehckDetails: [],
                    Request_TestDetails: []
                },
                //检查明细
                Request_TestDetail: {
                    Id: 0,
                    RequestId: 0,
                    Code: "",
                    RequestTime: ""
                },
                //检查明细
                Request_CehckDetail: {
                    Id: 0,
                    RequestId: 0,
                    Code: "",
                    Dept: 0,
                    Device: 0,
                    BodyPart: "",
                    RequestTime: ""
                },
//附件实体
                Request_File: {
                    Id: 0,
                    RequestId: 0,
                    Code: "string",
                    FilePath: "string"
                },
                getJYInforObj: {
                    bigtype: "2",//1检查 2检查1
                    rhospital: "-1",//转出医院编号(全部则传-1)
                    shospital: "-1",//转入医院编号(全部则传-1)
                    bdate: "",//申请开始日期(yyyy-MM-dd)
                    edate: "",//申请截止日期(yyyy-MM-dd)
                    patname: "",//患者姓名
                    status: "-1",//状态码(全部则传-1)
                    page: "0",//页码,默认0
                    limit: "10",//每页数量,默认10
                },
                JYSQList: [],
                total: 1,
                JYInforObj: {
                    //检查化验对象实
                    Request: {
                        Id: -1,
                        BigType: 2,
                        rHospital: 0,
                        rDept: 0,
                        rDoctor: 0,
                        sHospital: 0,
                        PatientId: "",
                        PatientName: "",
                        Condition: 0,
                        Diagnosis: "",
                        CreateId: 0,
                        CreateTime: "2020-01-20T01:28:43.707Z",
                        STATUS: 0,
                        Cost: 0,
                        CheckAim: 0
                    },
                    //患者信息
                    PatientInfo: {
                        Id: 0,
                        ReferralId: 0,
                        Catagory: 0,
                        PatientId: "-1",
                        IDCard: 0,
                        Name: "",
                        Sex: 0,
                        Age: 0,
                        AgeUnit: 0,
                        Marital: 0,
                        Condition: 0,
                        Weight: "",
                        Height: "",
                        BMI: "",
                        Country: 0,
                        Nation: 0,
                        Born: "",
                        MedicalCatagory: 0,
                        MedicalCard: "",
                        TelePhone: "",
                        Occupation: "",
                        Address: "",
                        Dept: "",
                        SeekCatagory: 0,
                        InDate: "",
                        OutDate: ""
                    },
                    Request_Files: [],
                    //
                    Request_CehckDetails: [],
                    Request_TestDetails: []
                },
            };
        },
        methods: {
            handleCurrentChange(val) {
                console.log(`当前页: ${val}`);
                this.getJYInforObj.page = val;
                this.getReferralList()
            },
            showDialog(show) {
                this.isShow = show;
            },
            handleClick(tab, event) {
                console.log(tab, event);
                this.getReferralList()
            },
            handleClickJCItem(row) {
                console.log(row);
                this.getReferralInfor(row.Id)
            },
            deleteRow(index, rows) {
                rows.splice(index, 1);
            },
            /****************************************远程会诊***********************************************************/
            //设备
            querySearchAsyncSB(queryString, cb) {

                this.restaurantsSB = [];
                var params = {
                    kind: "1",
                    name: queryString
                };
                //GET /api/RequestBuss/getCheckDevcie
                this.$get("RequestBuss/getCheckDevcie", params)
                    .then(res => {
                        console.log("检查设备列表查询结果");
                        console.log(res);
                        this.restaurantsSB = res.data;
                        this.restaurantsSB.forEach(m => {
                            m.value = m.Name;
                            m.pym = m.Name;
                            m.code = m.Code;
                        })
                        var restaurants = this.restaurantsSB;
                        var results = queryString ? restaurants.filter(this.createStateFilterSB(queryString)) : restaurants;
                        cb(results);
                    })
                    .catch(err => {
                        console.log(err);
                    });


                // clearTimeout(this.timeout);
                // this.timeout = setTimeout(() => {
                //     cb(results);
                // }, 3000 * Math.random());
            },
            createStateFilterSB(queryString) {
                return (state) => {
                    return (state.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0
                        || state.pym.toLowerCase().indexOf(queryString.toLowerCase()) ==
                        0 || state.code.toLowerCase().indexOf(queryString.toLowerCase()) ==
                        0);
                };
            },
            handleSelectSB(item) {
                console.log(item);
                this.selectJYObjSB = item;
                console.log("添加检查设备");
                console.log(this.selectJYObjSB);
            },


//部位
            querySearchAsyncBW(queryString, cb) {
                var restaurants = this.restaurantsBW;
                var results = queryString ? restaurants.filter(this.createStateFilterBW(queryString)) : restaurants;
                this.restaurantsBW = [];
                if (this.selectJYObjSB == null) {
                    this.$message({
                        showClose: true,
                        message: "请选择设备！",
                        type: "error"
                    });
                }
                var params = {
                    catagoryname: this.selectJYObjSB.Name,
                    name: queryString
                };
                //GET /api/RequestBuss/getCheckBodyPart
                this.$get("RequestBuss/getCheckBodyPart", params)
                    .then(res => {
                        console.log("检查列表查询结果");
                        console.log(res);
                        this.restaurantsBW = res.data;
                        this.restaurantsBW.forEach(m => {
                            m.value = m.Name;
                            m.pym = m.Name;
                            m.code = m.Code;
                        })
                        cb(results);
                    })
                    .catch(err => {
                        console.log(err);
                    });


                // clearTimeout(this.timeout);
                // this.timeout = setTimeout(() => {
                //     cb(results);
                // }, 3000 * Math.random());
            },
            createStateFilterBW(queryString) {
                return (state) => {
                    return (state.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0
                        || state.pym.toLowerCase().indexOf(queryString.toLowerCase()) ==
                        0 || state.code.toLowerCase().indexOf(queryString.toLowerCase()) ==
                        0);
                };
            },
            handleSelectBW(item) {
                console.log(item);
                this.selectJYObjBW = item;
                console.log("添加检查部位");
                console.log(this.selectJYObjBW);
            },

//项目
            querySearchAsync(queryString, cb) {
                var restaurants = this.restaurants;
                var results = queryString ? restaurants.filter(this.createStateFilter(queryString)) : restaurants;
                this.restaurants = [];
                var params = {
                    kind: "2",//1检验 2检查
                    name: queryString
                };
                //GET /api/RequestBuss/getTestCheckItem
                this.$get("RequestBuss/getTestCheckItem", params)
                    .then(res => {
                        console.log("检查列表查询结果");
                        console.log(res);
                        this.restaurants = res.data;
                        this.restaurants.forEach(m => {
                            m.value = m.ItemName;
                            m.pym = m.ItemName;
                            m.code = m.ItemCode;
                        })
                        cb(results);
                    })
                    .catch(err => {
                        console.log(err);
                    });


                // clearTimeout(this.timeout);
                // this.timeout = setTimeout(() => {
                //     cb(results);
                // }, 3000 * Math.random());
            },
            createStateFilter(queryString) {
                return (state) => {
                    return (state.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0
                        || state.pym.toLowerCase().indexOf(queryString.toLowerCase()) ==
                        0 || state.code.toLowerCase().indexOf(queryString.toLowerCase()) ==
                        0);
                };
            },
            handleSelect(item) {
                console.log(item);
                this.selectJYObj = item;
                console.log("添加检查项目");
                console.log(this.selectJYObj);
            },
            addJYItem() {
                console.log("添加检查项目实体")
                console.log()
                if (this.selectJYObjSB != null  && this.selectJYObj != null) {
                    var Request_Test = {
                        Id: 0,
                        RequestId: 0,
                        Code: this.selectJYObj.ItemCode,
                        Name: this.selectJYObj.ItemName,
                        Dept: 0,
                        Device: this.selectJYObjSB.Code,
                        SBName: this.selectJYObjSB.Name,
                        BodyPart: this.stateBW,
                        RequestTime: this.stateTime
                    }
                    this.addJYObj.Request_CehckDetails.push(Request_Test);
                    console.log("检查项目实体")
                    console.log(this.addJYObj.Request_CehckDetails);
                    this.showDialog('');
                    this.selectJYObjSB = null
                    this.selectJYObjBW = null
                    this.selectJYObj = null
                    this.stateTime = "";
                    this.stateSB = ""
                    this.stateBW = ""
                    this.state = ""
                }
            },
            saveJYObj() {
                this.addJYObj.Request.BigType = 2;//0检查，1检查
                this.addJYObj.Request.rHospital = this.LoginInfor.HospitalId
                this.addJYObj.Request.rDoctor = this.LoginInfor.UserId;
                this.addJYObj.Request.rDept = this.LoginInfor.DeptId;

                this.addJYObj.Request.PatientName = this.addJYObj.PatientInfo.Name;
                var params = this.addJYObj;
                //POST /api/RequestBuss/Create
                this.$post("RequestBuss/Create", params)
                    .then(res => {
                        console.log("新增检查结果");
                        console.log(res);
                        if (res.code == 0) {
                            this.addJYObj = {
                                //检查化验对象实
                                Request: {
                                    Id: -1,
                                    BigType: 2,
                                    rHospital: 0,
                                    rDept: 0,
                                    rDoctor: 0,
                                    sHospital: 0,
                                    PatientId: "",
                                    PatientName: "",
                                    Condition: 0,
                                    Diagnosis: "",
                                    CreateId: 0,
                                    CreateTime: "2020-01-20T01:28:43.707Z",
                                    STATUS: 0,
                                    Cost: 0,
                                    CheckAim: 0
                                },
                                //患者信息
                                PatientInfo: {
                                    Id: 0,
                                    ReferralId: 0,
                                    Catagory: 0,
                                    PatientId: "-1",
                                    IDCard: 0,
                                    Name: "",
                                    Sex: 0,
                                    Age: 0,
                                    AgeUnit: 0,
                                    Marital: 0,
                                    Condition: 0,
                                    Weight: "",
                                    Height: "",
                                    BMI: "",
                                    Country: 0,
                                    Nation: 0,
                                    Born: "",
                                    MedicalCatagory: 0,
                                    MedicalCard: "",
                                    TelePhone: "",
                                    Occupation: "",
                                    Address: "",
                                    Dept: "",
                                    SeekCatagory: 0,
                                    InDate: "",
                                    OutDate: ""
                                },
                                Request_Files: [],
                                Request_CehckDetails: [],
                                Request_TestDetails: []
                            }
                        }
                    })
                    .catch(err => {
                        console.log(err);
                    });
            },
            getReferralList() {
                this.JYSQList = [];
                var params = this.getJYInforObj;
                this.$get("RequestBuss/GetList", params)
                    .then(res => {
                        console.log("检查申请列表查询结果");
                        console.log(res);
                        if (res.code == 0) {
                            this.total = res.data.TotalCount
                            this.JYSQList = res.data.list[0].Table;
                        }
                    })
                    .catch(err => {
                        console.log(err);
                    });
            },
            handleClickJCItemPACS(row) {
                console.log("查看检查操作");
                console.log(row);
                this.$scanOpenJC("PACS", row.StudyId, this.getMsg)
            },
            getReferralInfor(Id) {
                var params = {
                    RequestId: Id
                };
                //GET /api/RequestBuss/Get
                this.$get("RequestBuss/Get", params)
                    .then(res => {
                        console.log("检查明细查询结果");
                        console.log(res);
                        if (res.code == 0) {
                            this.JYInforObj = res.data
                            this.showDialog("Infor")

                        }
                    })
                    .catch(err => {
                        console.log(err);
                    });
            },
            getZZJGList() {
                this.zzjgList = [];
                var params = {
                    name: ""
                };
                this.$get("Hospital/GetList", params)
                    .then(res => {
                        //this.total = res.data.totalCount;
                        this.zzjgList = res.data;

                        console.log("组织机构列表查询结果");
                        console.log(res);
                    })
                    .catch(err => {
                        console.log(err);
                    });
            },
        },
        created() {
            this.msg = this.$route.query;
            console.log("接收过来的传参#############################################################################")
            console.log(this.msg)
            if(this.msg.Token!=null&&this.msg.Token!=""){
                console.log("设置Token")
                this.$setToken(this.msg.Token)
                this.$setItemUrl(this.msg.ItemIP)
            }else{
                console.log("Token为空")
            }
            var loginInfor = localStorage.getItem('LoginInfor');
            this.LoginInfor = JSON.parse(loginInfor);
            console.log("个人登录信息");
            console.log(this.LoginInfor);
            if (this.LoginInfor == null) {
                this.LoginInfor = {
                    SectionName: "",
                    UserName: ""
                }
            }
            this.getZZJGList();
        }
    };
</script>
<style lang="scss">
    .NumbeRFMaintenJCSQ {
        .selectTime {
            .el-input__icon {
                height: 100%;
                width: 25px;
                display: none;
                text-align: center;
                -webkit-transition: all .3s;
                transition: all .3s;
                line-height: 40px;
            }

            .input {
                width: 90px !important;
                height: 28px !important;
            }


        }

        .Dilog {
            .column2 {
                width: 128rem;
                margin: 50px auto;
                background: #fff;
                border-radius: 5px;
                position: relative;
            }

            .form-control {
                width: 96px !important;
            }
        }

        .div_P {
            .form-control {
                display: inline-block;
                width: 180px;
                height: 32px;
                padding: 5px 12px;
                font-size: 14px;
                line-height: 1.42857143;
                color: #555;
                background-color: #fff;
                background-image: none;
                border: 1px solid #ccc;
                border-radius: 4px;
                -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
                box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
                -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
                transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
                transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
                transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
            }

            .form-group {
                height: 45px;
                margin: 0;
                line-height: 32px;
                padding: 6px 15px 0 15px;
            }
        }

        .fjtable {
            .el-table {
                font-size: 10px !important;
            }
        }

        .cardP {
            .text {
                font-size: 14px;
            }

            .el-card__header {
                padding: 18px 20px;
                border-bottom: 1px solid #EBEEF5;
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                background-color: azure;
            }

            .item {
                margin-bottom: 18px;
            }

            .clearfix:before,
            .clearfix:after {
                display: table;
                content: "";
            }

            .clearfix:after {
                clear: both
            }

            .box-card {
                width: 100%;
            }
        }

        .cardC {
            .text {
                font-size: 14px;
            }

            .el-card__header {
                padding: 10px 20px;
                border-bottom: 1px solid #EBEEF5;
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                background-color: white;
            }

            .el-card__body {
                padding: 8px;
            }

            .item {
                margin-bottom: 18px;
            }

            .clearfix:before,
            .clearfix:after {
                display: table;
                content: "";
            }

            .clearfix:after {
                clear: both
            }

            .box-card {
                width: 100%;
            }
        }


        .el-tree-node.is-current > .el-tree-node__content {
            color: #fff;
            background: #155a00 !important;
        }

        .dRightMain {
            padding: 18px;
        }

        .custom-tree-node {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 14px;
            padding-right: 8px;
        }

        .el-table {
            font-size: 14px !important;
        }

        .el-table thead {
            color: #303133;
        }

        .dRightMain .Tb {
            position: absolute;
            top: 91px;
            left: 240px;
            right: 15px;
            bottom: 0;
            border: 1px solid #ddd;
        }
    }

</style>
